﻿using System;
using System.Collections.Generic;
using System.Text;
using ForumLibrary;
namespace ForumLibrary
{
    [Serializable]
    public class Notification
    {


        private string _type;
        private string  _body;
        private string _timeStamp;
        private bool _delivered;


        public Notification(Message type, string body)
        {
            _type = type.ToString();
            _body = body;
            _timeStamp = DateTime.Now.ToString();
            _delivered = false;
        }

        public string Type { get { return _type; } }
        public string timeStamp { get { return _timeStamp; } }
        public string NotificationMessage { get { return _body; } }
        public bool delivered { get { return _delivered; } set { _delivered = value;}}
    }
}
